package com.googlecode.classgrep.grep.annotated.client;

import java.lang.annotation.Annotation;
import java.util.List;
import java.util.Map;

import com.googlecode.classgrep.info.AnnotationInfo;

public interface AnnotationGrepClient {
	
	/**
	 * Get unmodifiable annotated annotation map, if invoke by GrepRobot
	 * 
	 * @return
	 */
	Map<String, List<AnnotationInfo>> getAnnotatedAnnotationMap();
	
	/**
	 * find unmodifiable annotated annotation list by annotation, if invoke by GrepRobot
	 * 
	 * @param annotation
	 * @return
	 */
	List<AnnotationInfo> findAnnotatedAnnotations(Class<? extends Annotation> annotation);
	
}
